package com.example.sunmiv1.entity;

import java.util.ArrayList;
import java.util.List;

public class AllocationType {
    private List<DataBean> dataBeanList;

    public List<DataBean> getDataBeanList() {
        if (dataBeanList == null) {
            return new ArrayList<>();
        }
        return dataBeanList;
    }

    public void setDataBeanList(List<DataBean> dataBeanList) {
        this.dataBeanList = dataBeanList;
    }

    public static class DataBean {
        public DataBean(String id, String type) {
            this.type = type;
            this.id = id;
        }
        private String id;
        private String type;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type == null ? "" : type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
